<?php
/**
 * Created by 豆豆.
 * User: longrbl@163.com
 * Date: 2016/9/13
 * Time: 1:10
 */

namespace app\confg;

use \PDO;

class db
{

  static function get()
  {
    return [
     'dsn' => 'mysql:host=127.0.0.1;dbname=tw',
     'username' => 'root',
     'password' => '478120174',
     'charset' => 'utf8',
     'tablePrefix' => 'qh_',
     'option' => [
      PDO::ATTR_CASE => PDO::CASE_NATURAL,
      PDO::ATTR_PERSISTENT => true,
      PDO::ATTR_TIMEOUT => 10
     ],
    ];
  }
}